package com.fhzn.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色关联实体类
 *
 * @author fhzn
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("abstract_auth_role_relation")
public class RoleRelation extends BaseEntity {

    @TableId
    private Integer id;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 上级角色id
     */
    private Integer superId;

}